import React, { Component } from "react";
import Son from "./Component/Son";
import Context from "./context";

class App extends Component {
    render() {
        return (
            <Context.Provider value={{ name: "我是一个值，来自Provide" }}>
                <div>
                    <Son></Son>
                </div>
            </Context.Provider>
        );
    }
}
export default App;
